<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>仿京东的逛好店</title>
    <style>
        .background-img{
            width: 160px;
            margin-top:10px;
            margin-left:35px
        }

        .all{
            width: 420px;
            height:460px;
            padding:20px;
            margin:10% 30% 10%;
            background:rgb(249, 249, 249);
        
            box-shadow: 0 0 15px rgb(58, 54, 54);
        }

        ul,li{
            list-style:none;
            margin: 0;
            padding: 0;
        }
        .title{
            display:flex;
            margin-bottom:1px;
            /* 平行 */
        }
        .content1,.content2{
            margin-top: 20px;
            display: flex;/*垂直*/
            /* width: 420px; */
            height:180px;
            /* background-color:LavenderBlush; */
            border-radius: 15px;
        }
        .content1{
            background-color: pink;
            opacity:0.9;/*透明度*/
        }
        .content2{
            background-color: rgb(139, 168, 209);
            opacity:0.7;
        }
        .box{
            width:50px;
            margin-top:5px;
            margin-bottom:10px;
            margin-left:15px;
            text-align:center;
            border:1px solid red;
            opacity:0.8;
        }
        .title-junior {
            margin-left:15px;
            margin-top:10px;
            margin-bottom:3px;
        }
        .a{
            margin-left:15px;
        }
        .popular{
            margin-top:20px;
            margin-left:15px;
            font-weight:200;
            opacity: 0.8;
            font-size:large
        }
        li{
            font-size: 20px;
        }
        .one{
            margin-top:10px;
        }
        
        .top1{
            display:flex;
        }
        .top1-right{    
            /* width:42px;
            height: 40px; */
            margin-left:10px;
            overflow: hidden;/*裁剪图像*/
        }
        #cut{
            /* margin-left:10px; */
            width:40px;
            margin-top:1ch;
            margin-left:-20px;
            /* margin-right:-10px; */
        }
        #main-title{
            font-weight: 900;
            font-size:xx-large;
            margin-bottom:0px;
        }
    </style>
</head>
<body>
   <div class="all">
        <ul>
            
            <li class="title">
                <div class="top1-left a" >
                    <span id="main-title">逛好店</span>
                </div>
                <div class="top1-right">
                    <img src="./src/arrow.png" id="cut" alt="">
                </div>
            </li>
            <li class="content1">
                <div class="top2-left"></div>
                    <ul>
                        <li class="title-junior">
                            贝恩施京东自营官方
                        </li>
                        <li class="a">
                            旗舰店
                        </li>
                        <li class="box">
                            自营
                        </li>
                        <li class="popular">
                            277.9万人关注
                        </li>
                    </ul>
                <div class="top2-right ">
                    <img src="./src/2.jpg" class='background-img' alt="">
                </div>
            </li>
            <li class="content2">
                <div class="top3-left">
                   <ul>
                        <li class="title-junior">
                            美宝莲京东自营官方
                        </li>
                        <li class="a">
                            旗舰店
                        </li>
                        <li class="box">
                            自营
                        </li>
                        <li class="popular">
                            192.2万人关注
                        </li>
                   </ul>
                </div>
                <div class="top3-right">
                    <img src="./src/1.jpg" class="background-img" alt="">
                </div>
 
            </li>
        </ul>
    </div>
</body>
</html>